Skip to content

📝 fix NatSpec comment prefix in ERC1155 and ERC6909#1516

Open
Aboudjem wants to merge 1 commit intoVectorized:mainfrom
Aboudjem:fix/natspec-comment-prefix
Open

📝 fix NatSpec comment prefix in ERC1155 and ERC6909#1516
Aboudjem wants to merge 1 commit intoVectorized:mainfrom
Aboudjem:fix/natspec-comment-prefix

Conversation

@Aboudjem
Copy link

@Aboudjem Aboudjem commented Mar 5, 2026

Summary

Two NatSpec continuation lines use // instead of ///, so doc tooling (soldoc, natspec renderers) skips them. Both lines contain security guidance for overriders about storage variable cleanliness.

Changes

  • src/tokens/ERC1155.sol:18 - // to /// on the isApprovedForAll storage requirement
  • src/tokens/ERC6909.sol:15 - // to /// on the isOperator storage requirement

Checklist

  • forge fmt passes
  • forge test (no behavioral changes, comment-only fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant